package com.duck.common.domain;


import lombok.Data;

import java.util.List;

@Data
public class PagerPojo<T> {
    private long total;
    private List<T> list; // 改为泛型

    public PagerPojo() {}

    public PagerPojo(long total, List<T> list) {
        this.total = total;
        this.list = list;
    }
}